package com.zuokun.service;

import com.zuokun.protol.MsgBase;
import com.zuokun.protol.room.*;

public interface RoomService {

    /**
     * 获取房间信息
     *
     * @param msgGetRoomList
     * @return
     */
    MsgGetRoomList getRoomList(MsgGetRoomList msgGetRoomList);

    /**
     * 创建房间
     *
     * @param msgCreateRoom
     * @return
     */
    MsgCreateRoom createRoom(MsgCreateRoom msgCreateRoom);

    /**
     * 离开房间
     *
     * @param msgLeaveRoom
     * @return
     */
    MsgLeaveRoom leaveRoom(MsgLeaveRoom msgLeaveRoom);

    /**
     * 进入房间
     *
     * @param msgEnterRoom
     * @return
     */
    MsgBase enterRoom(MsgEnterRoom msgEnterRoom);

    /**
     * 获取房间信息
     *
     * @param msgGetRoomInfo
     * @return
     */
    MsgBase getRoomInfo(MsgGetRoomInfo msgGetRoomInfo);
}
